ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1HierarchicalPresenter Class / ToList<T>() Method
The type of the container, e.g. C1TreeViewItem

In This Topic
    ToList<T>() Method
    In This Topic
    Creates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation.
    Syntax
    'Declaration
     
    Public Function ToList(Of T As C1HierarchicalPresenter)() As System.Collections.Generic.IList(Of T)
    public System.Collections.Generic.IList<T> ToList<T>()
    where T: C1HierarchicalPresenter

    Type Parameters

    T
    The type of the container, e.g. C1TreeViewItem

    Return Value

    The list of item containers.
    See Also